
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 商品SKU表
    /// </summary>
    public partial class SKUInfo:BaseModel
    {
        string _id;
        /// <summary>
        /// 商品ID_颜色规格ID_颜色规格ID尺_寸规格
        /// </summary>
        public new string Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 商品ID
        /// </summary>
        public long ProductId { get; set; }
        /// <summary>
        /// 颜色规格
        /// </summary>
        public string Color { get; set; }
        /// <summary>
        /// 尺寸规格
        /// </summary>
        public string Size { get; set; }
        /// <summary>
        /// 版本规格
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Sku { get; set; }
        /// <summary>
        /// 库存
        /// </summary>
        public long Stock { get; set; }
        /// <summary>
        /// 成本价
        /// </summary>
        public decimal CostPrice { get; set; }
        /// <summary>
        /// 销售价
        /// </summary>
        public decimal SalePrice { get; set; }
        /// <summary>
        /// 自增主键Id
        /// </summary>
        public long AutoId { get; set; }
        /// <summary>
        /// 显示图片
        /// </summary>
        public string ShowPic { get; set; }
        /// <summary>
        /// 警戒库存
        /// </summary>
        public Nullable<long> SafeStock { get; set; }
    
        public virtual ProductInfo ProductInfo { get; set; }
    }
}
